// 话术详情页面逻辑
Page({
  data: {
    title: '',
    content: ''
  },
  onLoad: function(options) {
    this.setData({
      title: options.title,
      content: options.content
    })
  },
  // 复制话术内容到剪贴板
  copyContent: function() {
    wx.setClipboardData({
      data: this.data.content,
      success: function(res) {
        wx.showToast({
          title: '复制成功',
          icon: 'success'
        })
      }
    })
  }
})
